package cn.ly.security.service;

import cn.ly.security.entity.Role;
import cn.ly.security.entity.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {


    List<User> selectUserList(Integer currentPage, Integer size);
    List<User> selectUserListById(Integer id, Integer currentPage, Integer size);
    List<User> selectUserListByName(String uUsername, Integer currentPage, Integer size);
    Map<String,Object> login(String uUsername, String uPassword);
    User registcheck(String uUsername);
}
